import {
	post,
	get
} from '@/common/service/service.js';

export default class Login {
	//登录
	phoneNoLogin = (params) => {
		return post('/jeecg-boot/app/login/smsLogin', params)
	}
	// 获取验证码
	getLoginSmsCode(data) {
		return get('/jeecg-boot/app/login/getLoginSmsCode', data, true)
	}
	// 获取用户信息
	getUserInfo(data) {
		return get('/jeecg-boot/app/userInfo/getUserInfo', data, true)
	}

	// 刷新token
	refreshToken(data) {
		return get('/v6/common/user/refresh_token', data, true)
	}



}